body {
  font-family: sans-serif;
  padding: 1rem;
  background-color: #f9fafb;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.5rem;
  color: #6366F1;
}

button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  background-color: #6366F1;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #4f46e5;
}

#clear-logs-btn {
    background-color: #ef4444;
}

#clear-logs-btn:hover {
    background-color: #dc2626;
}

#logs-container {
  background-color: #1f2937;
  color: #f3f4f6;
  padding: 1rem;
  border-radius: 8px;
  height: 60vh;
  overflow-y: auto;
  font-family: monospace;
}

.log-entry {
  padding: 0.5rem;
  border-bottom: 1px solid #374151;
}

.log-entry:last-child {
  border-bottom: none;
}

.log-meta {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.log-message {
  white-space: pre-wrap;
}